package com.xdf.xzymanagementsystem.service;

import com.xdf.xzymanagementsystem.entity.JcContactcompany;
import com.xdf.xzymanagementsystem.util.Example;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Description : 业务层接口,该类为生成器自动生成.
 * @Author : 张柯
 * @Date : 2020-12-31 14:42:38
 */
public interface JcContactcompanyService {
    int insert(JcContactcompany record) throws Exception;

    int insertSelective(JcContactcompany record) throws Exception;

    int multiInsert(List<JcContactcompany> list) throws Exception;

    int updateByPrimaryKey(JcContactcompany record) throws Exception;

    int updateByPrimaryKeySelective(JcContactcompany record) throws Exception;

    int update(JcContactcompany record) throws Exception;

    int multiUpdate(List<JcContactcompany> list) throws Exception;

    JcContactcompany selectByPrimaryKey(Integer id) throws Exception;

    JcContactcompany selectByCode(String code) throws Exception;

    int deleteByPrimaryKey(Integer id) throws Exception;

    List<JcContactcompany> listQuery(JcContactcompany record) throws Exception;

    List<JcContactcompany> listQuery(Example example) throws Exception;

    Long count(Example example);

    List<Map<String, Object>> selectSendAddressById(Integer id);

    int moveClientSeq(int id, int direction);
}